<!-- <script src="https://cdn.bootcdn.net/ajax/libs/fastclick/1.0.6/fastclick.js"></script> -->
<script src="https://cdn.bootcdn.net/ajax/libs/fastclick/1.0.6/fastclick.min.js"></script>
<script>
	import global from './api/global.js'
	import update from '@/tool/update'
	export default {
		onLaunch: async function(options) {
			this.$api.getJobConfig().then(res => {
				if (res.code == 1) {
					uni.setStorageSync('config', res.data)
				}
			})
			// #ifdef APP-PLUS
			update.checkUpdate()
			// #endif
		},
		onShow: function() {},
		onHide: function() {}
	};
</script>

<style lang="scss">
	@import 'static/colorui/main.css';
	@import 'static/colorui/icon.css';
	@import 'static/font/shopro-icon.css';
	/*每个页面公共css */
	@import './static/css/common.scss';
	@import './static/css/hao.scss';
	@import './static/fonts/iconfonts.css';
	// 其他scss集成在uni.scss,(变量,class,minix)

	page {
		-webkit-overflow-scrolling: touch; //ios滑动不流畅
		// height: 100%;
		background: #f6f6f6;
		width: 100%;
		font-size: 30upx;
		// font-family: NotoSansHans-Bold;
		font-family: PingFang SC;
		color: #333;
		overflow-x: hidden;
	}

	//  uni-tabbar /deep/ .uni-tabbar {
	// 	border-top-left-radius: 25px !important;
	// 	border-top-right-radius: 25px !important;
	// 	background-color: #FFFFFF !important;
	// }
	// /deep/ uni-tabbar .uni-tabbar__icon.uni-tabbar__icon__diff {
	// 	width: 20px;
	// 	height: 20px;
	// }
	::-webkit-scrollbar {
		width: 0;
		height: 0;
		color: transparent;
		display: none;
	}

	.topPlace {
		width: 100%;
		height: var(--status-bar-height);
		background: $zhuse;
	}

	uni-radio .uni-radio-input-checked {
		background-color: #1774ED !important;
		border-color: #1774ED !important;
	}
</style>
